package com.bosssoft.hr.train.j2se.exception;


/**
 * MyException
 *
 * @author 史旭升
 * @date 2022-12-11 15:07
 */
public enum  MyException {

    INPUT_MISMACTH(1,"输入不匹配");//输入不匹配

    private int code;
    private String msg;


    MyException(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg(){
        return msg;
    }
}
